#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

bool detectCapitalUse(char* word);

int main()
{
	return 0;
}

bool detectCapitalUse(char* word)
{
	char ch = word[0];
	bool allUppercase = isupper(ch)? 1 : 0, allLowercase = 1;
	for (int i = 1; (ch = word[i]); i++)
		isupper(ch) ? (allLowercase = false) : (allUppercase = false);

	return allUppercase || allLowercase;
}
